﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace XCMod
{
    public partial class About : Form
    {
        string versionStr = "Beta";
        string versionPre = "XCOM Mod Manager version ";

        public About()
        {
            InitializeComponent();
        }

        private void About_Load(object sender, EventArgs e)
        {
            lblVersion.Text = versionPre + versionStr;
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void linlblHomepage_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start("http://code.google.com/p/xcom-modmanager");
        }

        private void linlblGPL_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start("http://www.gnu.org/licenses/");
        }
    }
}
